from common.lib import Service
from common.gtkobjects.windows import PreferencesWindow

class HidePreferencesWindowService(Service):
    def __init__(self):
        Service.__init__(self)
        self._result = False
    
    def run(self):
        w = PreferencesWindow.get_instance()
        w.hide()
        self._result = True